﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Work.Domain
{
    /// <summary>
    /// 就诊人
    /// </summary>
    public class Patient
    {
        /// <summary>
        /// 编号
        /// </summary>
        [Key]
        public int PatientId { get; set; }
        /// <summary>
        /// 卡号
        /// </summary>
        public string? CardNumber { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string? PatientName { get; set; }
        /// <summary>
        /// 身份证
        /// </summary>
        public string? IdCard { get; set; }
        /// <summary>
        /// 年龄
        /// </summary>
        public int? Age { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string? Phone { get; set; }
        /// <summary>
        /// 民族
        /// </summary>
        public string? Ethnicity { get; set; }
        /// <summary>
        /// 文化程度
        /// </summary>
        public string? Educationlevel { get; set; }
        /// <summary>
        /// 职业
        /// </summary>
        public string? Occupation { get; set; }
        /// <summary>
        /// 邮政编码
        /// </summary>
        public string? Postalcode { get; set; }
        /// <summary>
        /// 婚姻状况
        /// </summary>
        public string? Maritalstatus { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public bool Gender { get; set; }
        /// <summary>
        /// 生日
        /// </summary>
        public DateTime? Birthday { get; set; }
    }
}
